package net.xju_11_12.entity;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class Student {
    private String msg;

    private Integer sid;
    private String name;
    private String age;
    private String course;

    public Student() {
        System.out.println("Student对象创建了");
    }

    public void study() {
        System.out.println("学生在学习"+msg);
    }

}
